package com.kwt.learn;

/**
 * for循环
 */
public class ForCycle {


    public static void main(String[] args) {

        //break可以结束for循环
        for (int binCount = 0; ; ++binCount) {
            if (binCount == 10) {
                break;
            }
            System.err.println(binCount);
        }
    }
}
